package com.erhuogo.entity;

/**
 * 收藏实体类
 * 
 * @author aibinxiao
 * @date 2016年10月24日 下午6:37:20
 */
public class Favorite {
	private Integer id;// 收藏ID
	private Integer accountId;// 收藏者ID
	private Integer commodityId;// 被收藏商品ID
	private String time;// 收藏时间

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public Integer getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(Integer commodityId) {
		this.commodityId = commodityId;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Favorite [id=" + id + ", accountId=" + accountId + ", commodityId=" + commodityId + ", time=" + time
				+ "]";
	}

}
